import Vue from 'vue';
import App from './App.vue';
import store from './store/index';
import Api from './api/index';
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import VeLine from 'v-charts/lib/line.common';
import VePie from 'v-charts/lib/pie.common';
import VeMap from 'v-charts/lib/map.common';
import router from './router.js';
import 'vue-awesome/icons'
import Icon from 'vue-awesome/components/Icon'
import { Message } from 'element-ui';

Vue.component(VeLine.name, VeLine);
Vue.component(VePie.name, VePie);
Vue.component(VeMap.name, VeMap);
Vue.component('v-icon', Icon);
Vue.config.productionTip = false;
Vue.use(Api);
Vue.use(ElementUI);
Vue.use(router);

new Vue({
    store,
    router,
    render: h => h(App)
}).$mount('#app');
